package com.cyq.day16.petHospital;

public class Test {
    public static void main(String[] args) {
        Hospital h=new Hospital();
        Hospital h1=new Dog();
        Hospital h2=new Cat();
        h.cure();
        h1.cure();
        h2.cure();

    }
}
